<?php
class MLSetup extends MModule {
    protected static $_version = '0.01';
    
    public static function initJavascript(){
        MPackage::import('jquery');
    }
    
    public static function initLanguage(){
        $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
        Mandrill::getApp()->defaultLanguage = $lang;
    }
    
    public static $classes = array(
        'HomeController'=>'/controllers/home.php',
        'User'=>'/models/user.php',
    );
}
?>
